package at.fhv.androideightpuzzle.activities;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;
import at.fhv.androideightpuzzle.R;
import at.fhv.androideightpuzzle.puzzles.PuzzleLoader;

public class ShowPuzzleImageActivity extends Activity  {

	private ImageView m_imageView = null;
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.show_puzzle_image);
		m_imageView = (ImageView)findViewById(R.id.imgSolution);
		
		m_imageView.setImageResource(PuzzleLoader.loadImageIdForPuzzle(getIntent().getStringExtra(IntentExtraKeys.PUZZLE_ID)));
	}
}
